//
//  GoodHomeCollectionViewCell.m
//  HomeDecoration
//
//  Created by xalo on 16/2/26.
//  Copyright © 2016年 美家项目组. All rights reserved.
//

#import "GoodHomeCollectionViewCell.h"
#import "HomeModel.h"
#import <UIImageView+WebCache.h>
@interface GoodHomeCollectionViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *imageView;

@end
@implementation GoodHomeCollectionViewCell

-(void)awakeFromNib
{
    self.layer.cornerRadius=4;
    self.layer.borderWidth=1;
<<<<<<< HEAD
   self.layer.borderColor = [UIColor lightGrayColor].CGColor;
=======

>>>>>>> 1975201db659495b68bacbc5bddd203a4c2ada18

}
-(void)setContentWithModel:(HomeModel *)model
{
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.imageUrl]];

}

@end
